class UserTaskWrite {
  UserTaskWrite({
    this.content,
    this.pageNum,
    this.pageSize,
    this.totalPages,
    this.totalSize,
  });

  UserTaskWrite.fromJson(dynamic json) {
    if (json['content'] != null) {
      content = [];
      json['content'].forEach((v) {
        content?.add(Content.fromJson(v));
      });
    }
    pageNum = json['pageNum'];
    pageSize = json['pageSize'];
    totalPages = json['totalPages'];
    totalSize = json['totalSize'];
  }

  List<Content>? content;
  int? pageNum;
  int? pageSize;
  int? totalPages;
  int? totalSize;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (content != null) {
      map['content'] = content?.map((v) => v.toJson()).toList();
    }
    map['pageNum'] = pageNum;
    map['pageSize'] = pageSize;
    map['totalPages'] = totalPages;
    map['totalSize'] = totalSize;
    return map;
  }
}

class Content {
  Content({
    this.id,
    this.recordCount,
    this.signCount,
    this.status,
    this.videoCount,
    this.writeNo,
  });

  Content.fromJson(dynamic json) {
    id = json['id'];
    recordCount = json['recordCount'];
    signCount = json['signCount'];
    status = json['status'];
    videoCount = json['videoCount'];
    writeNo = json['writeNo'];
  }

  String? id;
  int? recordCount;
  int? signCount;
  int? videoCount;
  String? status;
  String? writeNo;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['recordCount'] = recordCount;
    map['signCount'] = signCount;
    map['videoCount'] = videoCount;
    map['status'] = status;
    map['writeNo'] = writeNo;
    return map;
  }
}
